* {
    margin: 0px;
    padding: 0px;
}

a {
    color: rgb(190, 190, 190);
    font-size: 12px;
}

body {
    width: 100%;
    height: 100%;
    background-color: rgb(184, 184, 184);
}

.cont {
    width: 1000px;
    height: 250px;
    background-color: rgb(65, 65, 65);
    margin: 150px 40px;
    border-radius: 5px;
}

.dibu div {
    width: 430px;
    height: 150px;
    padding: 50px 35px;
    float: left;
    color: white;
    border-radius: 5px;
}

.dibu h2 {
    margin: 10px 0px;
}

.dibu p {
    margin-bottom: 35px;
}

.dibu .bot {
    background-color: unset;
    text-align: center;
    padding: 10px 30px;
    border: 1px solid white;
    color: white;
    border-radius: 5px;
    font-size: 13px;
}

.denglu {
    width: 450px;
    height: 350px;
    background-color: white;
    position: absolute;
    top: 100px;
    left: 68px;
    border-radius: 5px;
    box-shadow: 0px 0px 10px rgb(88, 88, 88);
    transition: 1s;
    overflow: hidden;
}

.denglu .zc,
.denglu .dl {
    width: 380px;
    height: 250px;
    margin: 50px auto;
}

.denglu form h2 {
    margin-bottom: 35px;
    font-weight: bold;
    color: rgb(196, 67, 44);
}

.denglu form input {
    float: left;
    width: 100%;
    height: 35px;
    border: unset;
    border-bottom: 2px solid rgb(190, 190, 190);
    margin-bottom: 10px;
    text-indent: 5px;
}

.denglu form .passbox {
    margin-bottom: 30px;
}

.denglu form input::placeholder {
    color: rgb(190, 190, 190);
}

.denglu form input:focus {
    outline: none;
}

.denglu form button {
    float: right;
    width: 100px;
    height: 35px;
    border-radius: 5px;
    background-color: rgb(190, 72, 72);
    color: white;
    border: unset;
}

#chkzc,
#chkdl {
    display: none;
}

.denglu .zc {
    display: none;
}

#chkzc:checked~.dibu .bot_dl {
    background-color: white;
    color: black;
}
#chkzc:checked~.dibu .bot_zc {
    background-color: unset;
    color: white;
}
#chkzc:checked~.denglu {
    animation: denglu 1s linear forwards;
}

@keyframes denglu {
    0% {
        transform: translateX(0px);
    }

    50% {
        transform: translateX(550px);
    }

    100% {
        transform: translateX(500px);
    }
}

#chkzc:checked~.denglu .dl {
    display: none;
}

#chkzc:checked~.denglu .zc {
    display: block;
}

#chkdl:checked~.dibu .bot_zc {
    background-color: white;
    color: black;
}
#chkdl:checked~.dibu .bot_dl {
    background-color: unset;
    color: white;
}
#chkdl:checked~.denglu {
    animation: zc 1s linear forwards;
}

@keyframes zc {
    0% {
        transform: translateX(500px);
    }

    50% {
        transform: translateX(-50px);
    }

    100% {
        transform: translateX(0px);
    }
}

#chkdl:checked~.denglu .dl {
    display: block;
}

#chkdl:checked~.denglu .zc {
    display: none;
}